#pragma once

#include "qlib/all.h"
#include <QComboBox>
#include "../../tools/layer_interface.h"
namespace qbe::editing::Align {

struct AlignModel {
  bool is_open_ui = false;
  qlib::Cell::s_ptr cell;
  bool is_box_select = true;
  std::vector<std::pair<entt::entity,  uint32_t>> select_arr; //  uint32_t 图层
  std::vector<std::pair<entt::entity,  uint32_t>> select_arr_without_no_layer;
  std::map<entt::entity, QComboBox *> ele_combobox;
  std::map<entt::entity, std::vector<qlib::Vec2d>> ele_bbBox;

  tools::LayerInterfaceObjcet layer_interface;
};
}